

<article class="module width_3_quarter" id="article_cat">
  <header>
    <h3 class="tabs_involved">文章分类</h3>
   <ul class="tabs">
      <li><a href="articleCatAdd">新增分类</a></li>
    </ul>
  </header>
  <div class="tab_container" >
    <div id="tab1" class="tab_content">
      <table class="tablesorter" cellspacing="0">
        <thead>
          <tr>
          	<th width="50px;">ID</th>
            <th width="550px;">名称</th>
        
           
            <th width="60px;">状态</th>
            <th width="120px;">操作</th>
          </tr>
        </thead>
        <tbody>
     
          
          
          {{foreach from=$cat_list item=list key=key}}
          <tr >
            <td>{{$list.cat_id}}</td> 
            <td><a href="admins.php?act=article_list&cat_id={{$list.cat_id}}">{{$list.cat_name}}</a></td>
           
            <td><a class="alt_btn none" href="admins.php?act=del_article_cat&cat_id={{$list.cat_id}}">删除</a>
            <a class="alt_btn none " href="admins.php?act=article_cat_edit&cat_id={{$list.cat_id}}">修改</a>
            </td>
          </tr>
              {{foreach from=$list.children item=slist key=skey}}
              <tr >
                <td>{{$slist.cat_id}}</td> 
                <td>┗<a href="articleList-{{$slist.cat_id}}">{{$slist.cat_name}}</a></td>
                <td>{{if $slist.is_show}}<small class="green">显示</small>{{else}}<small>影藏</small>{{/if}}</td>
                <td><a class="alt_btn" href="admins.php?act=del_article_cat&cat_id={{$slist.cat_id}}">删除</a> / 
                <a class="alt_btn none" href="articleCatEdit-{{$slist.cat_id}}">修改</a>
                </td>
              </tr>
              {{/foreach}}
          {{/foreach}}
      
         
       
         
        </tbody>
      </table>
    </div>
    <!-- end of #tab1 --> 
    
  </div>
  <!-- end of .tab_container --> 
  
</article>


